package com.ruoyi.hospital.domain.member;

import com.ruoyi.common.core.domain.NewBaseEntity;
import com.ruoyi.hospital.domain.doctor.DocArticles;
import com.ruoyi.hospital.domain.storeInfo.PharmacyDruginfo;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户收藏对象 member_collect
 * 
 * @author wendao
 * @date 2024-09-29
 */
public class MemberCollect extends NewBaseEntity
{
    private static final Long serialVersionUID = 1L;

    /**  */
    private Integer id;

    /** 用户 */
    @Excel(name = "用户")
    private String memberName;
    private Integer memberId;
    private String avatar;
    private String phone;

    /** 收藏类型 */
    @Excel(name = "收藏类型",dictType = "collect_type")
    private Integer collectType;

    /** 收藏类型对应的id */
    private Integer collectId;
    private DocArticles docArticles;
    private PharmacyDruginfo pharmacyDruginfo;

    /** 删除时间 */
    private Integer deleteTime;


    public PharmacyDruginfo getPharmacyDruginfo() {
        return pharmacyDruginfo;
    }

    public void setPharmacyDruginfo(PharmacyDruginfo pharmacyDruginfo) {
        this.pharmacyDruginfo = pharmacyDruginfo;
    }

    public DocArticles getDocArticles() {
        return docArticles;
    }

    public void setDocArticles(DocArticles docArticles) {
        this.docArticles = docArticles;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setMemberId(Integer memberId) 
    {
        this.memberId = memberId;
    }

    public Integer getMemberId() 
    {
        return memberId;
    }
    public void setCollectType(Integer collectType) 
    {
        this.collectType = collectType;
    }

    public Integer getCollectType() 
    {
        return collectType;
    }
    public void setCollectId(Integer collectId) 
    {
        this.collectId = collectId;
    }

    public Integer getCollectId() 
    {
        return collectId;
    }
    public void setDeleteTime(Integer deleteTime) 
    {
        this.deleteTime = deleteTime;
    }

    public Integer getDeleteTime() 
    {
        return deleteTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("memberId", getMemberId())
            .append("collectType", getCollectType())
            .append("collectId", getCollectId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleteTime", getDeleteTime())
            .toString();
    }
}
